import axios from '@/libs/api.request'

export const login = ({ userName, pwd }) => {
  const data = {
    userName,
    pwd: pwd
  }
  return axios.request({
    url: '/api/Users/Login',
    data: data,
    method: 'post'
  })
}

export const getMenuList = () => axios.request({
  url: '/api/Function',
  method: 'get'
})
